<?php
namespace app\baseinfo\validate;

class Group extends \app\common\validate\Base {
	protected $rule=[
		'name|客户分组名'=>'length:1,20',
		'customer_type|客户类型'=>'regex:\d+',
		'power_level|客户权限' => 'regex:\d+'
	];
	protected $create_require=['name','customer_type'];
}
?>